---
layout: "default"
title: "Mirror.DisplayStyle"
description: "Swift documentation for 'Mirror.DisplayStyle': A suggestion of how a Mirror&#39;s is to be interpreted."
keywords: "Mirror.DisplayStyle,enum,swift,documentation"
root: "/v2.1"
---

<div class="intro-declaration"><code class="language-swift">enum Mirror.DisplayStyle</code></div>

<div class="discussion comment">
    <p>A suggestion of how a <code>Mirror</code>&#39;s is to be interpreted.</p>

<p>Playgrounds and the debugger will show a representation similar
to the one used for instances of the kind indicated by the
<code>DisplayStyle</code> case name when the <code>Mirror</code> is used for display.</p>
</div>

<table class="standard">



<tr>
<th>Import</th>
<td><code class="language-swift">import Swift</code></td>
</tr>

</table>

<h3 id="cases">Cases</h3>
<div class="declaration" id="case-Struct">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Struct">case Struct</a>
</div>
<div class="declaration" id="case-Class">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Class">case Class</a>
</div>
<div class="declaration" id="case-Enum">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Enum">case Enum</a>
</div>
<div class="declaration" id="case-Tuple">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Tuple">case Tuple</a>
</div>
<div class="declaration" id="case-Optional">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Optional">case Optional</a>
</div>
<div class="declaration" id="case-Collection">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Collection">case Collection</a>
</div>
<div class="declaration" id="case-Dictionary">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Dictionary">case Dictionary</a>
</div>
<div class="declaration" id="case-Set">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Set">case Set</a>
</div>








